<template>
	<view>
		<qiye-serve v-if="type==1 ||youkeType==1"></qiye-serve>
		<qiuzhi-serve v-else-if="type==2 ||youkeType==2"></qiuzhi-serve>
		<LoginEmpty v-else></LoginEmpty>
		<Tabber currentPagePath="serve"></Tabber>
		
	</view>
</template>
<script>
	import QiyeServe from "./qiyeduan/index.vue"
	import QiuzhiServe from "./qiuzhiduan/index.vue"
	import Tabber from '@/pages/common/Tabber.vue'
	import { mapState } from "vuex"
	import LoginEmpty from "@/components/loginEmpty.vue"
	export default{
		data(){
			return {
				ykType:""
			}
		},
		components:{
			QiyeServe,
			QiuzhiServe,
			Tabber,
			LoginEmpty
		},
		computed:{
			...mapState(['type', 'youkeType'])
		} 
	}
	
</script>
<style></style>